package bolangit.test.constant;

/**
 * @author lxr
 * @date 2019/2/27
 * @email 200890949@qq.com
 * @decreption 异常代码
 */
public final class ErrorConstants {
    private ErrorConstants(){};

    /**成功*/
    public static final int SUCCESS= 200;

    /**默认失败代码*/
    public static final int OTHER_ERROR = 500;

    /**用户错误：session过期*/
    public static final int USER_SESSION_EXCEPTION= 401;

    /**请求的格式不受请求页面的支持。**/
    public static final int TYPE_EXCEPTION=415;

    /**如果页面无法提供请求的范围，则服务器会返回此状态代码。**/
    public static final int NOT_RANGE_EXCEPTION=416;
}
